package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Battery {
    String brand="飞毛腿";
    String color;
    int vol=10000;//容量，单位要毫安
    public void showB(){
        System.out.println("这个电池的牌子是"+brand+",颜色："+color+",容量是"+vol+"毫安");
    }
}
